module et.TSHelper{
    export function getProtoCtor(target) {
        return target.constructor;
    }
    export function getObjectCtor(object: any) {
        return getProtoCtor(Object.getPrototypeOf(object));
    }
}